package com.manage.server.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.manage.dto.DepartmentDTO;
import com.manage.dto.add.DepartmentAddDTO;
import com.manage.dto.update.DepartmentUpdateDTO;
import com.manage.entity.Department;
import com.manage.result.PageResult;
import com.manage.vo.DepartmentVO;

/**
* @author ddw
* @description 针对表【department(部门表)】的数据库操作Service
* @createDate 2025-04-13 13:37:08
*/
public interface DepartmentService extends IService<Department> {

    boolean save(DepartmentAddDTO departmentAddDTO);

    boolean updateById(DepartmentUpdateDTO departmentUpdateDTO);

    PageResult<DepartmentVO> findDepartmentByPage(DepartmentDTO departmentDTO);
}
